﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Labs
{
    class Program
    {
        static void Main(string[] args)
        {
            double r = double.Parse(Console.ReadLine());
            string coords = Console.ReadLine();
            double x = double.Parse(coords.Split(' ')[0]);
            double y = double.Parse(coords.Split(' ')[1]);

            Console.WriteLine(
                (!InCircle(x, y, -r, r, r) &&
                !InCircle(x, y, r, -r, r) &&
                Math.Abs(x) <= r &&
                Math.Abs(y) <= r).ToString()
            );            
        }

        static bool InCircle(double x, double y, double xCenter, double yCenter, double r)
        {
            return (Math.Pow(x - xCenter, 2) + Math.Pow(y - yCenter, 2) < Math.Pow(r, 2));
        }
    }
}
